#pragma once
#include "stdafx.h"
#include "somedef.h"

void WINAPI ActiveWindow(HWND hWnd);
LPWSTR WINAPI GetWideString(LPCSTR str);
CHAR* WINAPI GetMultiString(WCHAR* str);
DWORD WINAPI HashCode(PPGate pGate,DWORD num);
DWORD WINAPI GetRandom(DWORD max,DWORD min=0);
DWORD WriteResponse(HANDLE hPipe,LPVOID data,DWORD cbData);
BOOL WINAPI ReadSomeData(PSomeData sd);
BOOL WINAPI WriteSomeData(PSomeData sd);